//
//  UIView+category.m
//  XDCommonApp
//
//  Created by xindao on 14-7-3.
//  Copyright (c) 2014年 XD-XY. All rights reserved.
//

#import "UIView+category.h"

@implementation UIView (category)
+(UIView *)initView:(CGRect )rect bgcolor:(UIColor *)color
{
    UIView * view = [[UIView alloc] initWithFrame:rect];
    view.backgroundColor = color;
    return view;
}
@end
